//
//  LLCycleView.h
//  cyclePrac
//
//  Created by 张Kevin on 17/5/30.
//  Copyright © 2017年 Kevin. All rights reserved.
//

#import <UIKit/UIKit.h>

@class LLCycleView;
@protocol LLCycleViewDataSource <NSObject>


- (NSInteger)numberOfRowsInCycleView:(LLCycleView * )cycleView;

-(NSURL *)cycleView:(LLCycleView *)cycleView imageURLForItemAtIndex:(NSInteger )index;


@end


@protocol LLCycleViewDelegate <NSObject>

@optional

-(UIColor *)colorForCurrentPageInCycleView:(LLCycleView *)cycleView;

@end



@interface LLCycleView : UIView

@property (nonatomic, weak) id<LLCycleViewDataSource> dataSource;
@property(nonatomic,weak)id<LLCycleViewDelegate> delegate;

@property(nonatomic,weak)UIImage *defaultImage;



-(void)reloadData;
-(void)clearTimer;







@end
